<?php
header("Content-type:text/html;charset=utf-8");
$a=!empty($_GET['act'])?$_GET['act']:"index";
switch ($a){
    //查询
    case "index":
        //echo "111";
        include "view/catagory/index.php";
        break;
    //添加
    case "add":
        include "view/catagory/add.php";
        break;
    //删除
    case "delete":
        include "view/catagory/delete.php";
        break;
    //修改
    case "update":
        include "view/catagory/update.php";
        break;
    default:
        echo 22;
}